package com.hucheng.pay.service;

import com.alipay.api.AlipayApiException;
import com.hucheng.common.exception.EduException;

import java.io.UnsupportedEncodingException;
import java.util.Map;

/**
 * @Author: 凉白开不加冰
 * @Version: 0.0.1V
 * @Date: 2019-07-17
 * @Description: 支付宝下单接口
 **/
public interface AlipayService {
    String alipayTradePagePay(Integer userId,String orderId,String orderNumber,String payAmount) throws AlipayApiException, UnsupportedEncodingException;

    void updateOrderStatus(Map<String, String> params) throws AlipayApiException, EduException;

    String precreate(Integer userId,String orderId,String orderNumber,String payAmount) throws AlipayApiException, UnsupportedEncodingException;

}
